def triangular_area(edge,height):

    edge:float
    height:float

    if 0 < edge and height > 0
        return 1 / 2 * edge * height
    
    else:
        return None
